package com.spring.boot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("data_ranking")
public class Ranking {
//    地区
    private String name;
//    累计确诊
    private int value;

    public Ranking(String city, int confirmed) {
        this.name = city;
        this.value = confirmed;
    }
}
